<?php
namespace api\user\validate;

use think\Validate;

class UpdateValidate extends Validate
{
    protected $rule = [
        'id'            =>  'require|number',
	    'status'         =>  'require|number|between:0,6',
    ];
    protected $message = [
        'id.require'     =>  'ID类型为数字',
	    'status.require'  => '状态为数字',
    ];

}